package com.jinlejia.erp.ui.new_house.house;

import android.os.Bundle;
import android.text.TextUtils;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.jinlejia.erp.R;


/**
 * 促销
 */

public class PromotionActivity extends AppCompatActivity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_promotion);
        TextView content = findViewById(R.id.content_info);
        if (getIntent().hasExtra("sales") && !TextUtils.isEmpty(getIntent().getStringExtra("sales"))){
            content.setText( getIntent().getStringExtra("sales"));
        }
        ImageView back = findViewById(R.id.id_back);
        back.setOnClickListener(view -> finish());
    }
}
